import axios from "axios";

const userApi = {
  login (data) {
    return axios.post("/users/login", data)
  },
  register (data) {
    return axios.post("/users/register", data)
  },
  getUserInfo () {
    return axios.get("/users/getUserInfo")
  }

}

export default userApi